package com.javagroup.chessonline.pojo;

import com.thuan.pojo.UserAccount;

public class ChessOnlineRoom {
	private int mRoomId;
	private String mRoomName;
	private UserAccount mPlayerA;
	private UserAccount mPlayerB;
	private int mScore;
	private boolean mIsLeague;
	
	public ChessOnlineRoom(int roomId, String name, UserAccount playerA, UserAccount playerB, int score, boolean isLeague) {
		this.mRoomId = roomId;
		this.mPlayerA = playerA;
		this.mPlayerB = playerB;
		this.mScore = score;
		this.mIsLeague = isLeague;
	}

	public int getRoomId() {
		return mRoomId;
	}

	public void setRoomId(int mRoomId) {
		this.mRoomId = mRoomId;
	}

	public UserAccount getPlayerA() {
		return mPlayerA;
	}

	public void setPlayerA(UserAccount mPlayerA) {
		this.mPlayerA = mPlayerA;
	}

	public UserAccount getPlayerB() {
		return mPlayerB;
	}

	public void setPlayerB(UserAccount mPlayerB) {
		this.mPlayerB = mPlayerB;
	}

	public int getScore() {
		return mScore;
	}

	public void setScore(int mScore) {
		this.mScore = mScore;
	}

	public boolean isLeague() {
		return mIsLeague;
	}

	public void setLeague(boolean isLeague) {
		this.mIsLeague = isLeague;
	}

	public String getmRoomName() {
		return mRoomName;
	}

	public void setmRoomName(String mRoomName) {
		this.mRoomName = mRoomName;
	}
}
